package com.qst.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录响应VO（匹配前端格式）
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginResponseVO {

    private String token;
    private UserVO user;

    /**
     * 用户信息VO
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class UserVO {
        private Integer id;
        private String username;
        private String realName;
        private String role;
        private String email;
        private String phone;
    }
}

